package com.nbjtjc.safe.mapper.edu;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.nbjtjc.safe.model.edu.EduEntryTraining;
import com.nbjtjc.safe.model.edu.EduEntryTrainingCompany;
import com.nbjtjc.util.MyMapper;
@Mapper
public interface EduEntryTrainingCompanyMapper extends MyMapper<EduEntryTrainingCompany> {
	@Select("select * from edu_entry_training_company where training_id = #{id}")
	EduEntryTrainingCompany findByTrainingId(@Param("id") int id);

	@Select("select training_date,training_hours from edu_entry_training_company where training_id = #{id}")
	EduEntryTrainingCompany findByTrainingIdTable(@Param("id") int id);
	
//	List<EduEntryTraining> search(@Param("eet") EduEntryTraining eduEntryTraining);
}